<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>回收站</title>

</head>
<body class="laytp-container-recycle">
<div class="layui-card" id="recycle-search-form" style="display:none;">
    <div class="layui-card-body">
        <form class="layui-form" style="margin-bottom:0px;">
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="ID">ID</label>
                <div class="layui-input-inline">
                    <input type="text" name="search_param[id][value]" id="id" placeholder="请输入ID"
                           class="layui-input" autocomplete="off">
                    <input type="hidden" name="search_param[id][condition]" value="=">
                </div>
            </div>

            <div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="分类名称">分类名称</label>
                <div class="layui-input-inline">
                    <input autocomplete="off" type="text" id="name" name="search_param[name][value]" placeholder="请输入分类名称" class="layui-input">
                    <input type="hidden" name="search_param[name][condition]" value="LIKE">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="父级">父级</label>
                <div class="layui-input-inline">
                    <div class="xmSelect"
                        data-name="search_param[pid][value]"
                        data-sourceType="route"
                        data-source="/admin.files.category/index"
                        data-sourceTree="false"
                        data-paging="true"
                        data-valueField="id"
						data-textField="name"
						data-placeholder="请选择父级"
                    ></div>
                    <input type="hidden" name="search_param[pid][condition]" value="FIND_IN_SET">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="创建时间">创建时间</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input laydate"
    id="create_time" name="search_param[create_time][value]"
    data-type="datetime" data-isRange="true" placeholder="请选择创建时间">
<input type="hidden" name="search_param[create_time][condition]" value="BETWEEN">
                </div>
            </div>

		<div class="layui-form-item layui-inline">
                <label class="layui-form-label" title="排序">排序</label>
                <div class="layui-input-inline">
                    <input autocomplete="off" type="text" id="sort" name="search_param[sort][value]" placeholder="请输入排序" class="layui-input">
                    <input type="hidden" name="search_param[sort][condition]" value="LIKE">
                </div>
            </div>

            <div class="layui-form-item layui-inline">
                <button class="laytp-btn laytp-btn-md laytp-btn-primary" lay-submit lay-filter="laytp-recycle-search-form">
                    <i class="layui-icon layui-icon-search"></i>
                    查询
                </button>
                <button type="reset" class="laytp-btn laytp-btn-md laytp-recycle-search-form-reset">
                    <i class="layui-icon layui-icon-refresh"></i>
                    重置
                </button>
            </div>
        </form>
    </div>
</div>

<table id="laytp-recycle-table" lay-filter="laytp-recycle-table"></table>

<script type="text/html" id="recycle-default-toolbar">
    <button class="laytp-btn laytp-btn-primary laytp-btn-md" lay-event="restore">
        <i class="laytp-icon laytp-icon-back"></i>
        还原
    </button>
    <button class="laytp-btn laytp-btn-danger laytp-btn-md" lay-event="true-del">
        <i class="layui-icon layui-icon-delete"></i>
        删除
    </button>
    <button class="laytp-btn laytp-btn-warming laytp-btn-md" lay-event="recycle-search">
        <i class="layui-icon layui-icon-search"></i>
        搜索
    </button>
</script>

<script type="text/html" id="recycle-default-bar">
    <button class="laytp-btn laytp-btn-primary laytp-btn-xs" lay-event="restore"><i class="laytp-icon laytp-icon-back"></i>还原</button>
    <button class="laytp-btn laytp-btn-danger laytp-btn-xs" lay-event="true-del"><i class="layui-icon layui-icon-delete"></i>删除</button>
</script>

<script>
    if(localStorage.getItem("staticDomain")){
        document.write("<link rel='stylesheet' href='" + localStorage.getItem("staticDomain") + "/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/layui/layui.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/component/laytp/layuiConfig.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='" + localStorage.getItem("staticDomain") + "/admin/js/files/categoryRecycle.js?v="+localStorage.getItem("version")+"'><\/script>");
    }else{
        document.write("<link rel='stylesheet' href='/static/component/layui/css/layui.css?v=" + localStorage.getItem("version") + "'>");
        document.write("<script src='/static/component/layui/layui.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='/static/component/laytp/layuiConfig.js?v="+localStorage.getItem("version")+"'><\/script>");
        document.write("<script src='/static/admin/js/files/categoryRecycle.js?v="+localStorage.getItem("version")+"'><\/script>");
    }
</script>
</body>
</html>